projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77233e
)
hvm: Allow HVM guests to execute GNTTABOP_setup_table.
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 28 Mar 2008 17:58:36 +0000
(17:58 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 28 Mar 2008 17:58:36 +0000
(17:58 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/hvm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/hvm.c
b/xen/arch/x86/hvm/hvm.c
index 1f66fcb1054365f1c182dfc1d2f71d9aa893a9fa..961bfbf354afeec3a356800dcc593faef05d83b3 100644
(file)
--- a/
xen/arch/x86/hvm/hvm.c
+++ b/
xen/arch/x86/hvm/hvm.c
@@
-1706,7
+1706,7
@@
enum hvm_intblk hvm_interrupt_blocked(struct vcpu *v, struct hvm_intack intack)
static long hvm_grant_table_op(
unsigned int cmd, XEN_GUEST_HANDLE(void) uop, unsigned int count)
{
- if (
cmd != GNTTABOP_query_size
)
+ if (
(cmd != GNTTABOP_query_size) && (cmd != GNTTABOP_setup_table)
)
return -ENOSYS; /* all other commands need auditing */
return do_grant_table_op(cmd, uop, count);
}